inverse of matrix by elementary transformation